#!/usr/bin/env python3
# -*- coding: utf-8 -*-

""" 文件描述内容 """

__auther__ = 'igofishing'


import numpy as np
from matplotlib import pyplot as plt


x = np.linspace(0, 10, 50)

y = x ** 2 + -3

y1 = -3 * x + x ** 3

plt.plot(x, y, label='look')

# 给函数(曲线)添加标识
plt.plot(x, y1, label='who are you?', color='green', linestyle='--')
plt.legend()

# 特别放大标示一个坐标
x0 = 6
y0 = -3 * x0 + x0 ** 3
plt.scatter(x0, y0, s=50, color='c')

plt.show()

